import { request } from "../request";

export const GetLogVisPage=(data:any)=>{
    return request({
        url:"/api/sysLogVis/page",
        method:"POST",
        data
    })
}

export const GetLogVisDetail = (id:any)=>{
    return request({
        url:`/api/sysLogVis/detail/${id}`,
        method:"GET",
    })
}

export const ClearLogVis = ()=>{
    return request({
        url:"/api/sysLogVis/clear",
        method:"POST",
    })
}


export const GetLogOptPage=(data:any)=>{
    return request({
        url:"/api/sysLogOpt/page",
        method:"POST",
        data
    })
}

export const GetLogOptDetail = (id:any)=>{
    return request({
        url:`/api/sysLogOpt/detail/${id}`,
        method:"GET",
    })
}

export const ClearLogOpt = ()=>{
    return request({
        url:"/api/sysLogOpt/clear",
        method:"POST",
    })
}


export const GetLogExPage=(data:any)=>{
    return request({
        url:"/api/sysLogEx/page",
        method:"POST",
        data
    })
}

export const GetLogExDetail = (id:any)=>{
    return request({
        url:`/api/sysLogEx/detail/${id}`,
        method:"GET",
    })
}

export const ClearLogEx = ()=>{
    return request({
        url:"/api/sysLogEx/clear",
        method:"POST",
    })
}